﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.User
{
    /// <summary>
    /// tb_User 用户表
    /// </summary>
    public class UserModel
    {
        public string c_vc_userName { get; set; }
        public string c_vc_passWord { get; set; }
        public string c_vc_email { get; set; }
        public bool c_b_isAlive { get; set; }
        public bool c_b_isLock { get; set; }
        public string c_nvc_nickName { get; set; }
        public bool c_b_isComplete { get; set; }
        public DateTime c_dt_regDate { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public UserModel()
        {

        }
        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="passWord">密码</param>
        /// <param name="email">邮件</param>
        /// <param name="isAlive">是否激活</param>
        /// <param name="nickName">昵称</param>
        /// <param name="isComplete">是否完成个人信息</param>
        /// <param name="regDate">注册时间</param>
        public UserModel(string userName, string passWord, string email, bool isAlive,bool isLock, string nickName, bool isComplete, DateTime regDate,bool isDel)
        {
            this.c_vc_userName = userName;
            this.c_vc_passWord = passWord;
            this.c_vc_email = email;
            this.c_b_isAlive = isAlive;
            this.c_b_isLock = isLock;
            this.c_nvc_nickName = nickName;
            this.c_b_isComplete = isComplete;
            this.c_dt_regDate = regDate;
            this.c_b_isDel = isDel;
        }
    }
}
